package cn.xi.goods.controller;


import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/qwe")
@CrossOrigin //开启跨区域请求
public class DemoController {



    @RequestMapping("/asd")
    public String find(){
        return "qweasd";
    }
}
